const a1 = function (_, { origin }, { xe: { get } }) {
  const { ENDDATE } = get(origin, "012f07216d4b452d9a339b2b8002cb25", {});
  const year = Number(ENDDATE.split("-")[0]);
  return `${year}年变动情况`;
};

const json = {
  slots: {
    header:
      "return function (_, _01, { h }) {console.log(_, _01);  return h('span', {}, ['借款主体', h('br'), '(债务单位名称)']);}",
  },
};

const a = function (_, { origin }, { xe: { get }, dayjs }) {
  const { ENDDATE } = get(origin, "4a0ae442a41d4ed4a8409a590a28253d", {});
  const date = dayjs(ENDDATE);
  const newDate = date.add(1, "month").format("YYYY-MM-DD");
  const [year, month] = newDate.split("-");
  return `${year}年${month}月`;
};

const c = function (_, { dayjs }) {
  return [
    dayjs().startOf("year").format("YYYY-MM-DD"),
    dayjs().format("YYYY-MM-DD"),
  ];
};

const rand = {
  props: {
    picker: "date",
    allowClear: false,
  },
  custom: {
    default:
      "return function(_,{dayjs}){ return [ dayjs().startOf('year').format('YYYY-MM-DD'),dayjs().format('YYYY-MM-DD')]}",
  },
};

const v = {
  props: {
    options: [
      {
        label: "举借债务",
        value: "0",
      },
      {
        label: "支出事项",
        value: "1",
      },
    ],
    placeholder: "全部类型",
    style: "width: 80%;padding-left: 8px;",
  },
  self: {
    colProps: {
      span: 2,
    },
  },
};

const bb = {
  self: {
    colProps: {
      span: 2,
    },
  },
  props: {
    style: "padding: 0 8px;",
    options: [
      {
        label: "举借债务",
        value: "0",
      },
      {
        label: "支出事项",
        value: "1",
      },
    ],
    placeholder: "全部类型",
  },
};
